<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('symbol/index')}">币种列表</a></li>
		</ul>
        <br>
        <php>
			$tick_text = [''=>'实时价','0'=>'实时价','bids'=>'买盘价','asks'=>'卖盘价',];
			$type_text = [''=>'无聚合','step0'=>'无聚合','step1'=>'聚合度为报价精度*10','step2'=>'聚合度为报价精度*100','step3'=>'聚合度为报价精度*1000','step4'=>'聚合度为报价精度*10000','step5'=>'聚合度为报价精度*100000'];
        </php>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>名称</th>
					<th>买涨</th>
					<th>买跌</th>
					<th width="140">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.name}</td>
					<td>
						开仓-方向：{$tick_text[$vo.up_open_tick]}-深度数量：{$vo.up_open_depth}-深度聚合度：{$type_text[$vo.up_open_type]}
						<br>
						平仓-方向：{$tick_text[$vo.up_close_tick]}-深度数量：{$vo.up_close_depth}-深度聚合度：{$type_text[$vo.up_close_type]}
					</td>
					<td>
						开仓-方向：{$tick_text[$vo.down_open_tick]}-深度数量：{$vo.down_open_depth}-深度聚合度：{$type_text[$vo.down_open_type]}
						<br>
						平仓-方向：{$tick_text[$vo.down_close_tick]}-深度数量：{$vo.down_close_depth}-深度聚合度：{$type_text[$vo.down_close_type]}
					</td>
					<td>
						<a class="btn btn-xs btn-primary" href="{:url('symbol/edit',array('id'=>$vo.id))}">编辑</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>